<ul>
  <{foreachq item=downloads from=$block}>
    <li><a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title="<{$downloads.title}>"><{$downloads.title}></a></li>
  <{/foreach}>
</ul>